<?php
	//判断文件后缀
	//$f_type：允许文件的后缀类型
	//$f_upfiles：上传文件名
	function f_postfix($f_type,$f_upfiles){
		$is_pass = false;
		$tmp_upfiles = explode(".",$f_upfiles);
		$tmp_num = count($tmp_upfiles);
		for($num = 0; $num < count($f_type);$num++){
			if(strtolower($tmp_upfiles[$tmp_num - 1]) == $f_type[$num])
				$is_pass = $f_type[$num];
		}
		return $is_pass;
	
include "conn/conn.php";//包含数据库连接文件
?>
<tr>
	<td width="131" height="30"><div align="right" ></div><div align="right">名称：</div></td>
    <td width="300" height="30"><input name="names" type="text" id="names" size="30">* </td>
</tr>
<tr>
    <td height="30"><div align="right">等级：</div></td>
    <td height="30">
        <select name="grade" id="grade">
       <option value="无限制级">高级会员</option>
       <option value="不限会员">不限会员</option>
     </select>
            *</td>
</tr>

<?php
}
?>
